//
// Created on 2025/6/26.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef MINDSPORE_LITE_UTILS_NDK_H
#define MINDSPORE_LITE_UTILS_NDK_H

#include <hilog/log.h>

#define LOGI(...) ((void)OH_LOG_Print(LOG_APP, LOG_INFO, LOG_DOMAIN, "[MindSpore Lite LLM Infer]", __VA_ARGS__))
#define LOGD(...) ((void)OH_LOG_Print(LOG_APP, LOG_DEBUG, LOG_DOMAIN, "[MindSpore Lite LLM Infer]", __VA_ARGS__))
#define LOGW(...) ((void)OH_LOG_Print(LOG_APP, LOG_WARN, LOG_DOMAIN, "[MindSpore Lite LLM Infer]", __VA_ARGS__))
#define LOGE(...) ((void)OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_DOMAIN, "[MindSpore Lite LLM Infer]", __VA_ARGS__))

#endif // MINDSPORE_LITE_UTILS_NDK_H
